setExternalAudioWithFile

abstract fun setExternalAudioWithFile(fileUri: Uri?, repeatFor: Int, listener: ProcessListener?)

Allows applications to set the audio file as external audio source and play it for the specified times. SDK can transmit audio file to remote peer if application uses this API.

Since

6.14.0

Parameters

fileUri

Uri of the audio file

repeatFor

Number of times to play the audio file

listener

Listener to get the result of the operation


abstract fun setExternalAudioWithFile(fileUri: Uri?, listener: ProcessListener?)

Allows applications to set the audio file as external audio source and play it once. SDK can transmit audio file to remote peer if application uses this API.

Since

6.14.0

Parameters

fileUri

Uri of the audio file

listener

Listener to get the result of the operation